package com.usian.apis.admin;

import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.dtos.WmNewsFlia;
import com.usian.model.media.pojos.WmNews;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * ClassName: AdWmNewsControllerApi
 * Author:   WGG
 * Date:    2022-11-2022/11/23-10:34
 * Version: 1.0
 * Description:
 */
public interface AdWmNewsControllerApi {


    /**
     * 媒体内容分页查询
     * @param wmNewsDto
     * @return
     */
    ResponseResult listWmNews(WmNewsDto wmNewsDto);

    /**
     * 查看
     * @param id
     * @return
     */
    public ResponseResult one(Integer id);


    /**
     * 审核
     * @param id
     * @return
     */
    public void oneUpdate(Integer id) throws Exception;


    /**
     * 人工审核 通过
     * @param wmNews
     * @return
     */
    public ResponseResult authPass(WmNews wmNews);


    /**
     * 人工审核 驳回
     * @param wmNewsFlia
     * @return
     */
    public ResponseResult authFail(WmNewsFlia wmNewsFlia);



}
